<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  
  <meta name="generator" content="Hugo 0.98.0" />

  
  <meta name="description" content="走在通往幸福的路上">
  

  
  <link rel="apple-touch-icon" sizes="180x180" href="https://blog.v5u.win/apple-touch-icon.png">

  
  <link rel="icon" type="image/png" sizes="32x32" href="https://blog.v5u.win/favicon-32x32.png">

  
  <link rel="icon" type="image/png" sizes="16x16" href="https://blog.v5u.win/favicon-16x16.png">

  
  <link rel="manifest" href="https://blog.v5u.win/site.webmanifest">

  
  <link rel="mask-icon" href="https://blog.v5u.win/safari-pinned-tab.svg" color="">

  <meta name="msapplication-TileColor" content="">

  <meta name="theme-color" content="">

  
  <link rel="stylesheet" href="https://blog.v5u.win/css/bootstrap.min.css" />

  
  <title>swift | 为吾优</title>
  

  <style>
body {
  min-width: 300px;
}

.custom-navbar {
  margin-bottom: 1em;
  height: 60px;
}

.custom-navbar a {
  display: inline-block; 
  padding: 18px 0;
  margin-right: 1em; 
  font-weight: bold; 
}

.custom-navbar a:hover,
.custom-navbar a:focus {
  text-decoration: none; 
}

@media print {
  .custom-navbar {
    display: none;
  }
}

article {
  padding-bottom: 1em;
}

img {
  max-width: 100%;
}


body {
  background-color: #fff;
}



body {
  color: #212529;
}



a {
  color: #007bff;
}



a:hover,
a:focus {
  color: #0056b3;
}



.custom-navbar {
  background-color: #212529;
}



.custom-navbar a {
  color: rgba(255,255,255,.75);
}



.custom-navbar a:hover,
.custom-navbar a:focus {
  color: rgba(255,255,255,1);
}



.container {
  max-width: 800px;
}





</style>
</head>

<body>
  <nav class="custom-navbar">
  <div class="container">
    
    <a href="/">文章</a>
    
    <a href="/tags/">标签</a>
    
    <a href="/about/">关于</a>
    
    <a href="/index.xml">RSS</a>
    
  </div>
</nav>
  
  <div class="container">
    <article>
      <h1>swift</h1>



  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-swiftui-study/">Swift SwiftUI Study</a>
    
    
    <br>
    <small class="text-secondary">2023-10-23</small>
    

<small><code><a href="https://blog.v5u.win/tags/swift">swift</a></code></small>


<small><code><a href="https://blog.v5u.win/tags/swiftui">SwiftUI</a></code></small>

    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-ffi/">Swift FFI 互操作</a>
    
    
    <br>
    <small class="text-secondary">2023-10-13</small>
    

<small><code><a href="https://blog.v5u.win/tags/swift">swift</a></code></small>


<small><code><a href="https://blog.v5u.win/tags/ffi">FFI</a></code></small>

    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/ios/ios-%E4%B8%80%E4%BA%9B%E5%AF%B9swift%E8%AF%AD%E8%A8%80%E7%89%B9%E6%80%A7%E7%9A%84%E6%80%9D%E8%80%83/">一些对swift语言特性的思考</a>
    
    
    <br>
    <small class="text-secondary">2021-04-16</small>
    
    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-%E4%BB%80%E4%B9%88%E6%98%AFswiftui/">iOS SwiftUI</a>
    
    
    <br>
    <small class="text-secondary">2019-06-05</small>
    

<small><code><a href="https://blog.v5u.win/tags/ios">iOS</a></code></small>


<small><code><a href="https://blog.v5u.win/tags/swift">swift</a></code></small>

    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-%E5%85%B3%E9%94%AE%E5%AD%97%E7%AF%87/">swift 关键字篇</a>
    
    
    <br>
    <small class="text-secondary">2016-12-13</small>
    

<small><code><a href="https://blog.v5u.win/tags/autoclosure">@autoclosure</a></code></small>


<small><code><a href="https://blog.v5u.win/tags/escaping">@escaping</a></code></small>


<small><code><a href="https://blog.v5u.win/tags/noescape">@noescape</a></code></small>

    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-anybidirectionalcollection/">AnyBidirectionalCollection</a>
    
    
    <br>
    <small class="text-secondary">2016-10-27</small>
    
    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-as/">as as! as?</a>
    
    
    <br>
    <small class="text-secondary">2016-10-26</small>
    
    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-enum/">swift Enum</a>
    
    
    <br>
    <small class="text-secondary">2016-10-25</small>
    
    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-weak-unowned/">weak-unowned</a>
    
    
    <br>
    <small class="text-secondary">2016-09-19</small>
    

<small><code><a href="https://blog.v5u.win/tags/swift">swift</a></code></small>

    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-struct-%E5%92%8Cclass%E7%9A%84%E5%8C%BA%E5%88%AB/">struct 和class的区别</a>
    
    
    <br>
    <small class="text-secondary">2016-08-15</small>
    

<small><code><a href="https://blog.v5u.win/tags/struct">struct</a></code></small>

    
  </p>

  <p>
    <a href="https://blog.v5u.win/%E5%87%BD%E6%95%B0%E5%BC%8F%E7%BC%96%E7%A8%8B/">函数式编程</a>
    
    
    <br>
    <small class="text-secondary">2016-08-05</small>
    
    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-swifterror/">swiftError</a>
    
    
    <br>
    <small class="text-secondary">2016-07-29</small>
    
    
  </p>

  <p>
    <a href="https://blog.v5u.win/swift%E4%B8%8Eobjective-c%E7%9A%84%E5%85%BC%E5%AE%B9%E6%96%B9%E6%B3%95objc%E5%92%8Cdynamic/">Swift与Objective-C的兼容方法:@objc和Dynamic</a>
    
    
    <br>
    <small class="text-secondary">2016-06-07</small>
    
    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-%E4%B8%AD%E5%88%9D%E5%A7%8B%E5%8C%96viewcontroller/">swift 中初始化ViewController</a>
    
    
    <br>
    <small class="text-secondary">2016-06-06</small>
    
    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-class-xxx-has-no-initializers/">class xxx has no initializers</a>
    
    
    <br>
    <small class="text-secondary">2016-04-25</small>
    

<small><code><a href="https://blog.v5u.win/tags/error">error</a></code></small>


<small><code><a href="https://blog.v5u.win/tags/swift">swift</a></code></small>

    
  </p>

  <p>
    <a href="https://blog.v5u.win/posts/swift/swift-braced-block-of-statements-is-an-unused-closure/">braced block of statements is an unused closure</a>
    
    
    <br>
    <small class="text-secondary">2016-03-01</small>
    
    
  </p>

    </article>
  </div>

  
  
  

  
</body>

</html>